# -*- coding:UTF-8 -*-

from django.db import models



class Departments(models.Model):
    name = models.CharField(max_length=10, unique=True, verbose_name="部门名称")
    create_date = models.DateField(verbose_name="创建时间")
    create_user = models.CharField(max_length=5, verbose_name='创建人')
    department_manager = models.CharField(max_length=10, verbose_name='部门管理人')


    class Meta:
        db_table = 'tb_department'
        verbose_name = '部门'
        verbose_name_plural = verbose_name
